package cn.supermarket.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 修改出库信息DTO类
 * </p>
 *
 * @author theThe
 * @date 2022/7/6 19:53
 */
@Data
public class UpdateProductOutputDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 验证请求参数失败的描述文本前缀
     */
    private static final String VALIDATE_MESSAGE_PREFIX = "修改出库记录失败,";

    /**
     * 出库单号
     */
    @ApiModelProperty(value = "出库单号", required = true, dataType = "Long", example = "994369590173630464")
    @NotNull(message = VALIDATE_MESSAGE_PREFIX + "请填写出库单号！")
    private Long deliveryOrderNo;

    /**
     * 商品编号
     */
    @ApiModelProperty(value = "商品编号",  dataType = "Long", example = "25821457")
    private Long productId;
    /**
     * 修改日期
     */
    private LocalDateTime gmtModify;
    /**
     * 是否锁定,0=未锁定,1=锁定
     */
    @ApiModelProperty(value = "是否锁定,0=未锁定,1=锁定",  dataType = "Integer", example = "0")
    private Integer isEnable;
    /**
     * 是否可见,0=隐藏,1=可见
     */
    @ApiModelProperty(value = "是否可见,0=隐藏,1=可见",  dataType = "Integer", example = "1")
    private Integer isDisplay;
    /**
     * 是否作废,0=未作废,1=作废
     */
    @ApiModelProperty(value = "是否作废,0=未作废,1=作废",  dataType = "Integer", example = "0")
    private Integer isCancel;
    /**
     * 操作人员
     */
    @ApiModelProperty(value = "操作人员", dataType = "String", example = "admin001")
    private String operator;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注",  dataType = "String", example = "备注")
    private String remarks;
}
